package com.rlz.framemm.mode.strategy2

/**
 * Created by RLZ
 * on 2021/10/26
 *  策略类
 */
class VipDiscount : Discount {
    override fun calculate(price: Double): Double {
        println("VIP票价: ")
        return price * .5
    }
}